proto-to-json.js